package com.ebelter.btcomlib.models.bluetooth.products.nb;

import com.ebelter.btcomlib.models.db.AppDatabase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

@Table(database = AppDatabase.class)
public class BondDevices extends BaseModel {

    @PrimaryKey(autoincrement = true)//ID自增
    public long id;

    @Column
    public int type;//type  0 为血压计  1位体脂称

    @Column
    public int _id;//用户idq

    @Column
    public String create_time;//创建时间


    @Column
    public String device_id;//设备id

    @Column
    public String sn_number;

    @Column
    public String user_id;//用户id


    @Override
    public String toString() {
        return "BondDevices{" +
                "id=" + id +
                ", type=" + type +
                ", _id=" + _id +
                ", create_time='" + create_time + '\'' +
                ", device_id='" + device_id + '\'' +
                ", sn_number='" + sn_number + '\'' +
                ", user_id='" + user_id + '\'' +
                '}';
    }
}
